import styles from './index.module.less';
import ConsItem from '@/components/common/ConsItem';
import Summary from '@/components/common/Summary';

export default function (props: {data: any;}) {
    const { data } = props
    return(
        <div className={styles['list']}>
            <ConsItem 
                title={"本周日期"}
                content={data.date}
            />
            <Summary 
                filed={"工作"}
                content={data.work}
            />
            <Summary 
                filed={"学业"}
                content={data.job}
            />
            <Summary 
                filed={"恋爱"}
                content={data.love}
            />
            <Summary 
                filed={"财运"}
                content={data.money}
            />
        </div>
    )
}

